package com.haizhi.crm.sys.auth.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Created by yangyijun on 2018/5/17.
 */
@Data
@ApiModel
public class PositionResourceQo {

    @ApiModelProperty(value = "岗位ID", required = true)
    @NotNull(message = "岗位ID不能为空" )
    private Long positionId;

    @ApiModelProperty(value = "资源ID数组", required = true)
    @NotNull(message = "资源ID数组不能为空" )
    private Long[] resourceIds;
}
